package com.geovis.emergency.spd.entity.pc.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 指挥调度大屏-事件情况统计VO
 * </p>
 *
 * @author Lonsho
 * @version 1.0
 * @date 2022/10/25
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "SchedulingEventStatisticsVO", description = "指挥调度大屏-事件情况统计VO")
public class SchedulingEventStatisticsVO {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty("统计类型")
    @NotBlank(message = "统计类型不允许为空")
    private String statisticsType;

    @ApiModelProperty("统计数量")
    @NotNull(message = "统计数量不允许为空")
    @Min(value = 0, message = "最小数值只能输入0")
    @Max(value = 9999999, message = "最大数值只能输入9999999")
    private Integer statisticsCount;
}
